package com.wuye.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuye.common.annotation.Excel;
import com.wuye.common.core.domain.BaseEntity;

/**
 * 仪表-----周期收费对象 wy_yb_money
 *
 * @author jack
 * @date 2024-11-22
 */
@Data
public class WyYbMoney
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId
    private Long ybMoyId;

    /** 仪表id（外键） */
    @Excel(name = "仪表id", readConverterExp = "外=键")
    private Long ybId;

    /** 起度 */
    @Excel(name = "起度")
    private BigDecimal ybMoyBeginElectricity;

    /** 止度 */
    @Excel(name = "止度")
    private BigDecimal ybMoyEndElectricity;

    /** 开始收费的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始收费的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ybMoyBeginTime;

    /** 截至收费的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截至收费的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ybMoyEndTime;

    /** 备注 */
    @Excel(name = "备注")
    private String ybMoyRemark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ybMoyCreateTime;

    /** 逻辑删除0正常，1删除 */
    @TableLogic
    private Long del;

    /** 需缴费 */
    @Excel(name = "需缴费")
    private BigDecimal ybMoyMoney;

    /** 是否缴费 */
    @Excel(name = "是否缴费")
    private Long ybMoyStatus;


}
